const mysql = require('mysql')
let db = mysql.createPool({
    host:'127.0.0.1',
    user:'root',
    password:'root',
    database:'dbname' //数据库名称
})
module.exports = db